package com.h3c.nem.entity;

import java.util.Date;
import javax.persistence.*;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;

/**
 * Copyright (C), 2020-2020, h3c
 * FileName: SdAuthChgLog
 *
 * @Author: l22886
 * @Date: 2022-01-19
 * Description: sd_auth_chg_log 实体
 * Version: 1.0
 */
@ApiModel(value="SdAuthChgLog对象", description="")
@Table(name = "sd_auth_chg_log")
public class SdAuthChgLog {


    @ApiModelProperty(value = "系统权限变更记录ID")
    @Column(name = "log_id")
    private String logId;

    @ApiModelProperty(value = "系统ID")
    @Column(name = "app_id")
    private String appId;

    @ApiModelProperty(value = "操作人工号")
    @Column(name = "oper_user_id")
    private String operUserId;

    @ApiModelProperty(value = "操作人姓名")
    @Column(name = "oper_user_name")
    private String operUserName;

    @ApiModelProperty(value = "操作时间")
    @Column(name = "oper_time")
    private Date operTime;

    @ApiModelProperty(value = "操作表名")
    @Column(name = "oper_table_name")
    private String operTableName;

    @ApiModelProperty(value = "操作IP")
    @Column(name = "oper_ip")
    private String operIp;

    @ApiModelProperty(value = "操作类型：add/update/delete")
    @Column(name = "oper_type")
    private String operType;

    @ApiModelProperty(value = "操作对象的json数据")
    @Column(name = "data_json")
    private String dataJson;

    @ApiModelProperty(value = "操作备注")
    @Column(name = "remark")
    private String remark;

    public String getLogId() {
        return logId;
    }

    public void setLogId(String logId) {
        this.logId = logId;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getOperUserId() {
        return operUserId;
    }

    public void setOperUserId(String operUserId) {
        this.operUserId = operUserId;
    }

    public String getOperUserName() {
        return operUserName;
    }

    public void setOperUserName(String operUserName) {
        this.operUserName = operUserName;
    }

    public Date getOperTime() {
        return operTime;
    }
    public void setOperTime(Date operTime) {
        this.operTime = operTime;
    }

    public String getOperTableName() {
        return operTableName;
    }

    public void setOperTableName(String operTableName) {
        this.operTableName = operTableName;
    }

    public String getOperIp() {
        return operIp;
    }

    public void setOperIp(String operIp) {
        this.operIp = operIp;
    }

    public String getOperType() {
        return operType;
    }

    public void setOperType(String operType) {
        this.operType = operType;
    }

    public String getDataJson() {
        return dataJson;
    }

    public void setDataJson(String dataJson) {
        this.dataJson = dataJson;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "SdAuthChgLog{" +
                "logId=" + logId +
                ", operUserId=" + operUserId +
                ", operUserName=" + operUserName +
                ", operTime=" + operTime +
                ", operTableName=" + operTableName +
                ", operIp=" + operIp +
                ", operType=" + operType +
                ", dataJson=" + dataJson +
                ", remark=" + remark +
                "}";
    }
}
